package com.cowcode.dao;

import com.cowcode.entity.Collect;
import com.cowcode.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectDao {
    public List<Collect> queryByUid(int uid);
    public boolean insertCollect(@Param("uid") int uid,@Param("qid") int qid);
    public boolean deleteCollect(@Param("uid") int uid,@Param("qid") int qid);
    public boolean deleteByUid(int uid);//删除该uid下的所有信息
}
